package bebetter.demo.user.controller;

import bebetter.basejpa.controller.BaseController;
import bebetter.jpa.base.BaseDao;
import bebetter.demo.common.model.User;
import bebetter.demo.common.dao.UserDao;
import bebetter.demo.common.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* 用户
*/
@RestController
@RequestMapping("/user")
public class UserController extends BaseController<User> {
    @Autowired
    UserService service;



    @Override
    public Class<? extends BaseDao<User>> getDaoClass() {
        return UserDao.class;
    }
}


